package com.example.a14110100420.yuejian.WSerivice;

import com.example.a14110100420.yuejian.Wbean.personal.MyConcern;
import com.example.a14110100420.yuejian.Wbean.personal.MyOrder;
import com.example.a14110100420.yuejian.Wbean.personal.Personal;
import com.example.a14110100420.yuejian.Wbean.personal.ShowPictureList;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by wanger on 2017/9/27.
 */

public interface PersonalService {

    //个人主页
    @GET("get/mod/user/id/")
    Call<Personal> getUser(
            @Query("id")String id
    );

    //个人发帖
    @GET("lists/mod/shaitu/SessionID/060pn7sjorpnq5fp53kid5st54/userid/")
    Call<List<ShowPictureList>> showById(
            @Query("userid") String userid

    );

    //个人关注
    @GET("lists/mod/fans/SessionID/060pn7sjorpnq5fp53kid5st54/userid/")
    Call<List<MyConcern>> focusById(
            @Query("userid") String userid
    );
    //取消关注俱乐部
    @GET("delete/mod/clubfans/")
    Call<Integer> concelFocusClub(@Query("club_id") String club_id,
                                @Query("user_id") String user_id);
    //个人订单列表
    @GET("lists/mod/sign/listorder/update_time/")
    Call<List<MyOrder>> getUserDingDan(@Query("userid") String userid,
                                       @Query("page") String page,
                                       @Query("SessionID") String SessionID);

    //个人密码修改
    @GET("updatepass/SessionID/060pn7sjorpnq5fp53kid5st54/")
    Call<Integer> getUserChangePassword(@Query("userid") String userid,
                                        @Query("password") String password);

}
